export type UserState = {
  phone: string | null;
  isLogged: boolean;
  personalVerifying: boolean;
  profession_status: boolean;
  nickname: string | null;
};

export enum UserActionTypes {
  DID_LOGIN = 'DID_LOGIN',
  WILL_LOGOUT = 'WILL_LOGOUT',
  UPDATE_USER_INFO = 'UPDATE_USER_INFO',

  FETCH_USER_REQUEST = 'FETCH_USER_REQUEST',
  FETCH_USER_SUCCESS = 'FETCH_USER_SUCCESS',
  FETCH_USER_FAILURE = 'FETCH_USER_FAILURE',
}
